/**
 * @filename:CheckInService CheckIn
 * @project constract  V1.0
 * Copyright(c) 2018 lin keqing Co. Ltd. 
 * All right reserved. 
 */
package com.znufe.exam.service;

import java.util.List;

import com.znufe.exam.domain.CheckIn;
import com.znufe.exam.viewmodel.vote.checkin.CheckInCountRequestVM;
import com.znufe.exam.viewmodel.vote.checkin.CheckInCountResponseVM;

/**
 *  
 * @Description:  答题器签到信息表——SERVICE
 * @Author:       lin keqing   
 * @CreateDate:   CheckIn
 * @Version:      V1.0
 *    
 */
public interface CheckInService extends BaseService<CheckIn> {
	
	/**
	 * @explain 查询答题器签到信息表对象
	 * @param   id
	 * @return  CheckIn
	 * @author  lin keqing
	 */
	CheckIn selectByPrimaryKey(Integer id);
	
	/**
	 * @explain 删除答题器签到信息表对象
	 * @param   id
	 * @return  int
	 * @author  lin keqing
	 */
	int deleteByPrimaryKey(Integer id);
	
	/**
	 * @explain 添加答题器签到信息表对象
	 * @param   checkIn
	 * @return  int
	 * @author  lin keqing
	 */
	int insertSelective(CheckIn checkIn);
	
	/**
	 * @explain 修改答题器签到信息表对象
	 * @param   checkIn
	 * @return  int
	 * @author  lin keqing
	 */
	int updateByPrimaryKeySelective(CheckIn checkIn);
	
	/**
	 * @explain 查询答题器签到信息表集合
	 * @param   checkIn
	 * @return  List<CheckIn>
	 * @author  lin keqing
	 */
	List<CheckIn> queryCheckInList(CheckIn checkIn);

	/**
	 * selectCheckInCount
	 *
	 * @explain 查询班级签到人数
	 * @return: CheckInCountResponseVM
	 * @param: [requestVM]
	 * @Author: lin keqing
	 */
	CheckInCountResponseVM selectCheckInCount(CheckInCountRequestVM requestVM);
}